package com.xpffly.design.facade;

import com.xpffly.design.facade.service.Facade;

/**
 * @Author: 午夜学徒
 * @Date: 2022/4/4 20:13
 * @Description：门面模式场景类
 */
public class Scene {
    public static void main(String[] args) {
        // 定义门面对象
        Facade facade = new Facade();
        // 调用子服务
        facade.methodA();
        facade.methodB();
        facade.methodC();
    }
}
